package com.njwb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("dept")
public class Dept {
    @TableId(value = "deptNo",type = IdType.INPUT)
    private Integer deptNo;
    @TableField("dname")
    private String dname;
    @TableField("loc")
    private String loc;
}
